package com.itheima.common.response;

import com.itheima.pojo.User;

import java.util.List;

/**
 * @author Dqh
 * @create 2020-09-18 20:34
 * @desc 分页信息
 **/
public class PageResult {
    private Long total;
    private int pages;
    private List<User> user;

    public PageResult(Long total, int pages, List<User> user) {
        this.total = total;
        this.pages = pages;
        this.user = user;
    }
}